﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WorkBasket.Data.Contracts;
using WorkBasket.Data.Entities;
 

namespace WorkBasket.Data.Repository
{
    public class WorkflowRepository : RepositoryBase<Workflow>
    {
        public WorkflowRepository(DbContext context)
            : base(context)
        {
        }

        public IQueryable<Workflow> GetAllWithChildren()
        {

          
            return  base.ThisDBset
                .Include(p => p.Fields);
            
            
        }



    }
}
